<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="r" uri="http://richfaces.org/rich"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Eventime - Sistema de Eventos - Portaria</title>
<style type="text/css">

td img {display: block;}
.style1 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 36px;
}
.style2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 36px;
    color: #FF0000;
}
td img {display: block;}td img {display: block;}
body {
	background-image: url(/Eventime/jsp/imagens/background.jpg);
	background-repeat: repeat-x;
	background-color: #474747;
}td img {display: block;}td img {display: block;}
</style>
</head>

<body>
<f:view>
<h:form id="cadastroPortaria">
<table width="200" border="0" align="center">
  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="980">
      <tr>
          <td height="32" colspan="4" ><div align="center"><h:inputText id="buscaPortaria" required="false" value="#{PortariaBean.valorBusca}" styleClass="semborder" size="60"></h:inputText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<h:commandButton id="pesquisa" value="Pesquisar" styleClass="style4" action="#{PortariaBean.pesquisaPortaria}"/></div></td>
      </tr>

      <!-- fwtable fwsrc="Untitled" fwbase="layout-portaria.png" fwstyle="Dreamweaver" fwdocid = "1146542635" fwnested="0" -->
      <tr>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="40" height="1" border="0" alt="" /></td>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="899" height="1" border="0" alt="" /></td>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="41" height="1" border="0" alt="" /></td>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="1" height="1" border="0" alt="" /></td>
      </tr>
      <tr>
        <td colspan="3"><img name="layoutportaria_r1_c1" src="/Eventime/jsp/imagens/layout-portaria_r1_c1.png" width="980" height="113" border="0" id="layoutportaria_r1_c1" alt="" /></td>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="1" height="113" border="0" alt="" /></td>
      </tr>
      <tr>
        <td rowspan="2"><img name="layoutportaria_r2_c1" src="/Eventime/jsp/imagens/layout-portaria_r2_c1.png" width="40" height="610" border="0" id="layoutportaria_r2_c1" alt="" /></td>
        <td background="/Eventime/jsp/imagens/layout-portaria_r2_c2.png"><table width="890" border="0" align="center">
          <tr>
            <td>&nbsp;
            <div align="center" class="style1">
                    <h:messages errorStyle="color:red" infoStyle="color:#5ac67e" />
            </div>
            </td>
          </tr>

          <tr>
            <td colspan="2" class="style1">Evento:
             <h:outputText id="nomeEvento" styleClass="style2" value="#{PortariaBean.pessoaFisicaJuridicaEvento.evento.nome}" />
            </td>

          </tr>
          <tr>
              <td colspan="2">
                  <h:inputHidden id="codEvento" value="#{Login.usuarioEventoPerfil.evento.codigo}"/>
                  <h:inputHidden id="codUsuario" value="#{Login.usuarioEventoPerfil.usuario.codigo}"/>
              </td>
          </tr>
          <tr>
            <td colspan="2" class="style1">Local:
            <h:outputText id="local" styleClass="style2" value="#{PortariaBean.pessoaFisicaJuridicaEvento.evento.localEvento}" />
            </td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" class="style1">Nome do Cracha:
            <h:outputText id="nomeCracha" styleClass="style2" value="#{PortariaBean.pessoaFisicaJuridicaEvento.pessoaFisica.nomeCracha}" />
            </td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td width="611" class="style1">Cidade:
            <h:outputText id="cidade" styleClass="style2" value="#{PortariaBean.pessoaFisicaJuridicaEvento.pessoaFisica.cidade.nome}" />
            </td>
            <td width="269" class="style1">Estado:
            <h:outputText id="estado" styleClass="style2" value="#{PortariaBean.pessoaFisicaJuridicaEvento.pessoaFisica.cidade.estado.nome}" />
            </td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" class="style1">Empresa:
            <h:outputText id="nomeEmpresa" styleClass="style2" value="#{PortariaBean.pessoaFisicaJuridicaEvento.pessoaJuridica.nomeFantasia}" />
            </td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" class="style1">Status:
            <h:outputText id="status" styleClass="style2" value="#{PortariaBean.statusSaida.nome}" />
            </td>
          </tr>
        </table></td>
        <td rowspan="2"><img name="layoutportaria_r2_c3" src="/Eventime/jsp/imagens/layout-portaria_r2_c3.png" width="41" height="610" border="0" id="layoutportaria_r2_c3" alt="" /></td>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="1" height="544" border="0" alt="" /></td>
      </tr>
      <tr>
        <td><img name="layoutportaria_r3_c2" src="/Eventime/jsp/imagens/layout-portaria_r3_c2.png" width="899" height="66" border="0" id="layoutportaria_r3_c2" alt="" /></td>
        <td><img src="/Eventime/jsp/imagens/spacer.gif" width="1" height="66" border="0" alt="" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</h:form>
</f:view>
</html>
